package com.ruoyi.manager.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.manager.domain.SoldierBaseInfo;
import com.ruoyi.manager.domain.SoldierSpecialCare;

/**
 * 优抚对象Mapper接口
 *
 * @author Allen
 * @date 2021-08-31
 */
public interface SoldierSpecialCareMapper {
    /**
     * 查询优抚对象
     *
     * @param id
     *         优抚对象主键
     *
     * @return 优抚对象
     */
    public SoldierSpecialCare selectSoldierSpecialCareById(Long id);

    /**
     * 查询优抚对象列表
     *
     * @param soldierSpecialCare
     *         优抚对象
     *
     * @return 优抚对象集合
     */
    public List<SoldierSpecialCare> selectSoldierSpecialCareList(SoldierSpecialCare soldierSpecialCare);

    /**
     * 新增优抚对象
     *
     * @param soldierSpecialCare
     *         优抚对象
     *
     * @return 结果
     */
    public int insertSoldierSpecialCare(SoldierSpecialCare soldierSpecialCare);

    /**
     * 修改优抚对象
     *
     * @param soldierSpecialCare
     *         优抚对象
     *
     * @return 结果
     */
    public int updateSoldierSpecialCare(SoldierSpecialCare soldierSpecialCare);

    /**
     * 删除优抚对象
     *
     * @param id
     *         优抚对象主键
     *
     * @return 结果
     */
    public int deleteSoldierSpecialCareById(Long id);

    /**
     * 批量删除优抚对象
     *
     * @param ids
     *         需要删除的数据主键集合
     *
     * @return 结果
     */
    public int deleteSoldierSpecialCareByIds(Long[] ids);
}
